package top.honlnk.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RotaSecretKey {
    private Integer id;
    private String adminKey;

    @JsonFormat(pattern = "yyyy/MM/dd")
    private LocalDate time;

    private String rota;
}
